package nc.itf.am.service;

import java.util.List;

import nc.bs.dao.DAOException;
import nc.vo.am.bill.JobbasfilVO;
import nc.vo.am.pro.PROBUDGETVO;
import nc.vo.am.purbudget.PurbudgetVO;
import nc.vo.pub.bill.BillTempletBodyVO;

public interface BudCodeRuleService {

	public String getBudCode(PurbudgetVO vo);

	public String getCurrDateBudCode(PurbudgetVO vo);
	
	public List<PROBUDGETVO> getProvosBysql(String sql);
	
	public List<PROBUDGETVO> getSumPaymoney(JobbasfilVO vo,String strSql);
	public  String IterBudget_num(String budget_num ) throws DAOException;
	public boolean budgetNumExist(String budget_num,String pk_purbudget);
	public boolean xmysNumExist(String budget_num);
	
	public void updateLocation(String pk_equip,String location_name);
	
	public void updateSheet(String bill_code,String item_code,String pk_alter,String pk_alter_b,String pk_location,String pk_recorder);

	
	public void updateEquipCode(String pay_code,String pk_equip);
	
	public List<BillTempletBodyVO> getBillTemp();
	public int getCount(String sql);
	
	
	public byte[] getLogData(String code_name) throws Exception;
}
